const Dysmsapi20170525 = require('@alicloud/dysmsapi20170525');
const OpenApi = require('@alicloud/openapi-client');

class Client {

  static createClient() {
    let config = new OpenApi.Config({
      accessKeyId: "LTAI5t8e35KA2Tqqg9tnYp4k",
      accessKeySecret: "dabhgB8jiqwYXu29JzkjGPwmhlEbLG",
    });
    // Endpoint 请参考 https://api.aliyun.com/product/Dysmsapi
    config.endpoint = `dysmsapi.aliyuncs.com`;
    return new Dysmsapi20170525.default(config);
  }
}

module.exports = Client
